package com.ee.chat.common.bean;

import java.util.List;

/**
 * @Author Shane
 * @Date 2019/7/16 1:04
 */
public class MenuTree {
    private Integer id;
    private String pid;
    private String icon;
    private String name;
    private String url;
    private List<MenuTree> childrens;

    public MenuTree() {
    }

    public MenuTree(Integer id, String pid, String icon, String name, String url, List<MenuTree> childrens) {
        this.id = id;
        this.pid = pid;
        this.icon = icon;
        this.name = name;
        this.url = url;
        this.childrens = childrens;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<MenuTree> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<MenuTree> childrens) {
        this.childrens = childrens;
    }
}
